import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/work_today_status_entity.g.dart';
export 'package:enterprise_v6_app/generated/json/work_today_status_entity.g.dart';

@JsonSerializable()
class WorkTodayStatusEntity {

  WorkTodayStatusEntity();

  factory WorkTodayStatusEntity.fromJson(Map<String, dynamic> json) =>
      $WorkTodayStatusEntityFromJson(json);
  ///	承包商数量
  int? contractorCount = 0;

  ///	违规单位数量
  int? contractorViolationCount = 0;

  ///	承包商作业数量
  int? contractorWorkCount = 0;

  ///	进行中作业数量
  int? doingCount = 0;

  ///	已完成作业数量
  int? doneCount = 0;

  ///	内部单位数量
  int? innerCount = 0;

  ///	违规总数量
  int? innerViolationCount = 0;

  ///	内部单位作业数量
  int? innerWorkCount = 0;

  ///	已终止作业数量
  int? stopCount = 0;

  Map<String, dynamic> toJson() => $WorkTodayStatusEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
